#include <stdio.h>
int main ()
{
    int arr[3];
    int n = 0;
    int max = 0;
    for (n = 0; n < 3; n++)
    {
        scanf ("%d",&arr[n]);
    }
    
    max = arr[0];
    
    for (n = 0; n < 3; n++)
    {
        if (max < arr[n])
            max = arr[n];
    }
    
    printf ("%d",max);
}